package com.qst.service;

import com.qst.pojo.Customer;
import com.qst.dao.CustomerDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Eumenides.
 * @create 2021-06-10 16:20
 */
@Service
public class CustomerService {
    @Autowired
    private CustomerDao customerDao;

    public List<Customer> findCustomerByName(String name) {
        return customerDao.findCustomerByName(name);
    }
}
